package com.wiloon.java8x.thread.pool.forkjoinpool;

import java.util.stream.LongStream;

/*
 * Created by roy on 6/22/17;
 */
public class ForLoopCalculator implements Calculator {
    public long sumUp(long[] numbers) {
        long total = 0;
        for (long i : numbers) {
            total += i;
        }
        return total;
    }


}